package com.freeland.core.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class MultiIdUtils {
	public static boolean matchMultiId(String ids){
		String reg = "[0-9]+(,[0-9]+)*?";
		Pattern p = Pattern.compile(reg);   
		Matcher m = p.matcher(ids);
		if(m.matches()){
			return true;
		} else {
			return false;
		}
	}
}
